package com.ljx.vod.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.model.vod.Chapter;
import com.ljx.vo.vod.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author ljx
 * @since 2023-04-06
 */
public interface ChapterService extends IService<Chapter> {

    List<ChapterVo> getNestedTreeList(Long courseId);

    void savaChapter(Chapter chapter);

    void updateChapter(Chapter chapter);

    void removeChapter(Long id);

    void removeChapterByCourseId(Long id);
}
